list(APPEND MERAK_EXAMPLES
        simple
        attach_data
        async
        subflow_async
        dependent_async
        dependent_async_algorithm
        observer
        subflow
        fibonacci
        condition
        multi_condition
        switch_case
        do_while_loop
        while_loop
        if_else
        nested_if_else
        visualization
        parallel_for
        parallel_sort
        reduce
        inclusive_scan
        exclusive_scan
        pipeline
        scalable_pipeline
        scalable_pipeline_with_deferred_tokens
        text_pipeline
        taskflow_pipeline
        parallel_graph_pipeline
        parallel_data_pipeline
        pipeline_with_deferred_tokens
        run
        corun
        runtime
        composition
        limited_concurrency
        cancel
        exception
        threadpool
        )

foreach(example IN LISTS MERAK_EXAMPLES)
    kmcmake_cc_binary(
            NAMESPACE ${PROJECT_NAME}
            NAME ${example}
            SOURCES
            ${example}.cc
            CXXOPTS
            ${KMCMAKE_CXX_OPTIONS}
            LINKS
            ${KMCMAKE_DEPS_LINK}
            PUBLIC
    )
endforeach()